package com.jhc.api.domain;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.jhc.api.base.BaseEntity;
import com.jhc.api.enums.UserType;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
public class User extends BaseEntity {
    private String phone;

    @JsonIgnore
    private String password;

    private String name;

    // 餐厅id
    private Long rId;

    private UserType type;

    private String avatar;

}
